#include <iostream>
using namespace std;

class Box{
    double length,height,width;
    public:
        Box(double l,double w,double h): length(l),width(w),height(h){};
        double V(){
            return length*width*height;
        }
        bool compare(Box box){
            return this->V()>box.V();
        }
};

int main(){
    Box box1(2,3,4);
    Box box2(3,3,5);
    if(box1.compare(box2)){
        cout<<"box1>box2"<<endl;
    }else{
        cout<<"box1<box2"<<endl;
    }
    return 0;
}

